#import "../fragments/last_state_transition.fragment.graphql"

mutation vulnerabilityDismiss(
  $id: VulnerabilityID!
  $comment: String
  $dismissalReason: VulnerabilityDismissalReason
) {
  vulnerabilityDismiss(input: { id: $id, comment: $comment, dismissalReason: $dismissalReason }) {
    errors
    vulnerability {
      id
      state
      dismissedAt
      dismissedBy {
        id
      }
      ...LastStateTransition
    }
  }
}
